package com.jzo2o.foundations.service;

import com.jzo2o.foundations.model.dto.response.ServeAggregationSimpleResDTO;
import com.jzo2o.foundations.model.dto.response.ServeAggregationTypeSimpleResDTO;
import com.jzo2o.foundations.model.dto.response.ServeCategoryResDTO;

import java.util.List;

/**
 * @Description HomeService
 * @Author luohai
 * @Date 2024-12-05
 */
public interface HomeService {
    /**
     * 首页服务列表
     * @param regionId
     * @return
     */
    List<ServeCategoryResDTO> firstPageServeList(Long regionId);


    /**
     * 服务类型列表
     * @param regionId
     * @return
     */
    List<ServeAggregationTypeSimpleResDTO> serveTypeList(Long regionId);

    /**
     * 首页热门服务列表
     * @param regionId
     * @return
     */
    List<ServeAggregationSimpleResDTO> hotServeList(Long regionId);

    /**
     * 根据id查询服务
     * @param id
     * @return
     */
    ServeAggregationSimpleResDTO getServeById(Long id);
}
